package com.yipinsoft.modules.wechat.util;

import java.util.ResourceBundle;
import java.util.UUID;

/**
 * 微信工具类
 * @author waile23
 *
 */

public class WechatUtil {
	//微信工具  -- 发送模板
	public static final String CLICK_EVT_KEY_WX_TOOLS_SEND_TEMPLATE = "SEND_TEMPLATE";
	//我的任务
	public static final String CLICK_EVT_KEY_MY_TASK = "MY_TASK";
	//模板信息
	public static final String TEMPLATE_TO_USER = "oL5tjs3UiOoDPA3KGBivtgT9uky8";
	public static final String TEMPLATE_TEMPLATE_ID="u8ZCnAal00g3pa5GiiMD7FiURo0sojEoPsVbVYwTC8U";
	
	public static final String APP_URL = ResourceBundle.getBundle("wechat").getString("weixinUrl") ;
	public static final String TEXT_SUBSCRIPTING = ResourceBundle.getBundle("wechat").getString("subScripting") ;
	public static final String TEXT_SYSTEM_HELP = ResourceBundle.getBundle("wechat").getString("systemHelp") ;
	public static final String TEXT_CONTACT_US = ResourceBundle.getBundle("wechat").getString("contactUs") ;
	public static final String API_URL = ResourceBundle.getBundle("wechat").getString("apiUrl");
	
	//session信息
	public static final String SESSION_WXMP_USER = ResourceBundle.getBundle("wechat").getString("SESSION_WXMP_USER");
	//微信菜单文件
	public static final String MENU_FILE = ResourceBundle.getBundle("wechat").getString("menuFile");
	//系统建设中
	public static final String TEXT_SYSTEM_BUILDING = ResourceBundle.getBundle("wechat").getString("inConstruction");
	
	
	public static void main(String[] args) {
		System.out.println(ResourceBundle.getBundle("wechat").getString("menuFile"));
		int i = 1;
		while(i <= 10){
			System.out.println(UUID.randomUUID().toString());
			i++;
		}
		Boolean isOpened = true;
		
		
		if (!isOpened) {
			//todo 
			return ;
		}
		
		//todo
	}
}
